package com.suzhe.ymall.product.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 库存表
 * </p>
 *
 * @author suzhe
 * @since 2019-08-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "OrderStockLock对象", description = "库存表")
public class StockLockDetail implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "订单编号")
    @TableId(value = "order_no", type = IdType.INPUT)
    private String orderNo;

    @ApiModelProperty(value = "锁定明细：json格式")
    private String detail;

    private Date lockTime;


}
